<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台欢迎页</title>
    <link rel="stylesheet" href="/static/css/reset.css" />
    <link rel="stylesheet" href="/static/css/content.css" />
</head>
<body marginwidth="0" marginheight="0">
<div class="container">
    <div class="public-content">
        <div class="public-content-cont">
            <form action="{:url('admin/Business/BusinessAmend')}" enctype="multipart/form-data" method="post">
                <input type="hidden"name="ma_id" value="{$modifyChange.ma_id}">
                <input type="hidden" name="ma_logo" value="{$modifyChange.ma_logo}" /><br>
                <div class="form-group">
                    <label for="">店铺名称</label>
                    <input class="form-input-txt" type="text" name="ma_name" value="{$modifyChange.ma_name}" />
                </div>
                <div class="form-group">
                    <label for="">评分</label>
                    <input class="form-input-txt" type="text" name="ma_score" value="{$modifyChange.ma_score}" />
                </div>
                <div class="form-group">
                    <label for="">简介</label>
                    <input class="form-input-txt" type="text" name="ma_synopsis" value="{$modifyChange.ma_synopsis}" />
                </div>
                <div class="form-group">
                    <label for="">营业时间</label>
                    <input class="form-input-txt" type="text" name="ma_business_hours" value="{$modifyChange.ma_business_hours}" />
                </div>
                <div class="form-group">
                    <label for="">结束时间</label>
                    <input class="form-input-txt" type="text" name="ma_business_hoursl" value="{$modifyChange.ma_business_hoursl}" />
                </div>
                <div class="form-group">
                    <label for="">联系电话</label>
                    <input class="form-input-txt" type="text" name="ma_number" value="{$modifyChange.ma_number}" />
                </div>
                <div class="form-group">
                    <label for="">门店位置</label>
                    <input class="form-input-txt" type="text" name="ma_position" value="{$modifyChange.ma_position}" />
                </div>
                <div class="form-group">
                    <label for="">商家图片</label>
                    <img src="{$modifyChange.ma_logo}"width=80 height=80>
                    <input type="file" name="ma_logo" value="" /><br>
                </div>
                <div>
                    {if $modifyChange.ma_state == 1}
                    <label for="">是否启用</label>
                    <label><input type="radio" name="ma_state" value="1" checked>启用</label>
                    <label><input type="radio" name="ma_state" value="2">不启用</label>
                    <label><input type="radio" name="ma_state" value="3">待审核</label>
                    {elseif strtoupper($modifyChange.ma_state) == 2 /}
                    <label for="">是否启用</label>
                    <label><input type="radio" name="ma_state" value="1">启用</label>
                    <label><input type="radio" name="ma_state" value="2" checked>不启用</label>
                    <label><input type="radio" name="ma_state" value="3">待审核</label>
                    {else /}
                    <label for="">是否启用</label>
                    <label><input type="radio" name="ma_state" value="1">启用</label>
                    <label><input type="radio" name="ma_state" value="2">不启用</label>
                    <label><input type="radio" name="ma_state" value="3" checked>待审核</label>
                    {/if}
                </div>
                <div class="form-group" style="margin-left:150px;">
                    <input type="submit" class="sub-btn" value="提  交" />
                </div>
            </form>
        </div>
    </div>
</div>
<script src="../kingediter/kindeditor-all-min.js"></script>
<script>
    KindEditor.ready(function(K) {
        window.editor = K.create('#editor_id');
    });
</script>
</body>
</html>